package com.ruoyi.domain.fileshare.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
public class SysFile {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long resourceId;

    private String resourceName;

    private String originalName;

    private String name;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long size;

    private String url;

    private String path;

    private String hash;

    private Boolean isDeleted;

    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String updateUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Date start;

    private Date end;

    private Boolean isShare;

    private String shareUserIds;

}